package com.ruicar.afs.cloud.common.modules.afscorebusiness.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-21 20:36
 */
public enum CustRelationEnum implements AfsBaseEnum {
    @AfsEnum(key = "00006", desc = "夫妻")
    COUPLE("00006", "夫妻"),
    @AfsEnum(key = "00002", desc = "父母-子女")
    PARENT_CHILD("00002", "父母-子女"),
    @AfsEnum(key = "00007", desc = "兄-妹")
    SIBLING("00007", "兄-妹"),
    @AfsEnum(key = "00102", desc = "朋友-个人")
    FRIEND("00102", "朋友-个人");

    CustRelationEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private String code;
    private String desc;

    public String getCode() {
        return code;
    }
}
